﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using CMSApplication.Models;

namespace CMSApplication.Controllers
{
    public class MySiteController : Controller
    {
        //
        // GET: /MySite/

        public ActionResult Index()
        {
            return View(HtmlElement.getPageElements());
        }

        //
        // GET: /MySite/
        [HttpGet]
        public ActionResult Index(string page_name)
        {
            return View(HtmlElement.getPageElements());
        }

    }
}
